.PHONY: all test clean

all: clean
	gcc -lpthread thread.c -o thread

clean:
	rm -rf thread

test: all
	sudo ./thread
